package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserRechargeStrategyLogDao;
import com.frogs.ucenter.entity.UserRechargeStrategyLog;
import com.frogs.ucenter.service.UserRechargeStrategyLogService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userRechargeStrategyLogService")
public class UserRechargeStrategyLogServiceImpl extends BaseServiceImpl<UserRechargeStrategyLog> implements UserRechargeStrategyLogService {
    @Autowired
    private UserRechargeStrategyLogDao userRechargeStrategyLogDao;

    public UserRechargeStrategyLogServiceImpl() {
        super();
    }

    public UserRechargeStrategyLogDao getUserRechargeStrategyLogDao() {
        return userRechargeStrategyLogDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserRechargeStrategyLog> getBaseDao() {
        return userRechargeStrategyLogDao;
    }

    public void setUserRechargeStrategyLogDao(UserRechargeStrategyLogDao userRechargeStrategyLogDao) {
        this.userRechargeStrategyLogDao = userRechargeStrategyLogDao;
    }
}